Graphic objects and drawing elements > Property Panel > All properties and connections > NumberOfInputCharacters
Specifies the maximum number of input characters for the string pop-up scratchpad or keyboard to accept, up to 82 characters.